export const toRawDeep = (proxy: Record<string, any>) => {
  proxy = isProxy(proxy) ? toRaw(proxy) : proxy
  ObjUtil.traverseDeep(proxy, {
    objPreHandler: (obj, key, parent) => {
      parent[key] = isProxy(obj) ? toRaw(obj) : obj
    },
    arrPreHandler: (arr, key, parent) => {
      parent[key] = isProxy(arr) ? toRaw(arr) : arr
    }
  })
  return proxy
}
